package com.ruoyi.core.mapper;

import com.ruoyi.core.domain.custombean.CustomTime;
import org.apache.ibatis.annotations.Param;

public interface CustomTimeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CustomTime record);

    int insertSelective(CustomTime record);

    CustomTime selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CustomTime record);

    int updateByPrimaryKey(CustomTime record);

    CustomTime selectByUserIdAndProductIdAndType(@Param("userId") Long userId, @Param("productId") Long productId, @Param("type") Integer type, @Param("month") String month);
}